package com.ruoyi.zhgd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.util.PageUtils;
import com.ruoyi.zhgd.domain.vo.NLaboratoryDuctilityVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryDuctilityBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 延度试验Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratoryDuctilityService {

    /**
     * 查询延度试验
     */
    NLaboratoryDuctilityVo queryById(String id);

    /**
     * 查询延度试验列表
     */
    TableDataInfo<NLaboratoryDuctilityVo> queryPageList(NLaboratoryDuctilityBo bo, PageQuery pageQuery);

    /**
     * 查询延度试验列表
     */
    List<NLaboratoryDuctilityVo> queryList(NLaboratoryDuctilityBo bo);

    /**
     * 新增延度试验
     */
    Boolean insertByBo(NLaboratoryDuctilityBo bo);

    /**
     * 修改延度试验
     */
    Boolean updateByBo(NLaboratoryDuctilityBo bo);

    /**
     * 校验并批量删除延度试验信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    PageUtils ductilityList(Page page, Map<String, Object> params);

}
